import home from "./components/home.vue";
import news from "./components/news.vue";
import goods from "./components/goods.vue";
import carts from "./components/carts.vue";
import myself from "./components/myself.vue";

export const routes = [
  {path:'/',components:{
      default:home,
  },name:'首页'},
  {path:'/news',components:{
    default:news,
  },name:'新闻'},
  {path:'/goods',components:{
    default:goods,
  },name:'产品'},
  {path:'/carts',components:{
    default:carts,
  },name:'购物车'},
  {path:'/myself',components:{
    default:myself,
  },name:'我的'},

]
